var myApp = angular.module('myApp', [])
    .directive('customTags',function () {
        return {
            restrict:'ECAM',
            templateUrl:'template/other.html',
            //template:'<div>1111</div>',
            //replace为true时，模板必须要用标签嵌套元素
            replace:true
        }
    })
    .directive('customTags2',function () {
        return {
            restrict:'ECAM',
            templateUrl:'customTags2',
            //template:'<div>1111</div>',
            //replace为true时，模板必须要用标签嵌套元素
            replace:true
        }
    })
    .controller('firstController',['$scope',function ($scope) {
        $scope.name = '张三';
    }])
    
